import { Injectable, Scope, ConsoleLogger, ConsoleLoggerOptions } from '@nestjs/common';

@Injectable({ scope: Scope.TRANSIENT })
export class MyLogger extends ConsoleLogger {
  options: ConsoleLoggerOptions = {
    logLevels: ['log', 'error', 'warn', 'debug', 'verbose', 'fatal'],
    timestamp: true
  };
  customLog() {
    this.log('Please feed the cat!');
  }
}
